home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 125 / Computer Shopper CD-ROM Issue 125 (1998-07)(Dennis Publishing).iso / Business / Dazzler / DAZZLER.Z / CVariableAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-26  |  618 b   |  23 lines

  1. import java.io.DataInputStream;
  2.  
  3. public class CVariableAction extends CAction {
  4.    protected String m_strVariableString;
  5.  
  6.    boolean LoadFromFile(DataInputStream var1) {
  7.       this.m_strVariableString = FileLoad.ReadCString(var1);
  8.       return super.LoadFromFile(var1);
  9.    }
  10.  
  11.    public CVariableAction() {
  12.       super(33);
  13.    }
  14.  
  15.    boolean DoAction() {
  16.       if (this.m_strVariableString.length() > 0) {
  17.          Utils.SetVariables(this.m_strVariableString, false);
  18.       }
  19.  
  20.       return true;
  21.    }
  22. }
  23.